import React, { Component } from 'react'
import './index.moudle.css'
export default class Item extends Component {
    render() {
        const { login, avatar_url, html_url } = this.props
        return (
            <div className="item" >
                <a href={html_url}  target="_blank">
                    <img style={{ width: "100px" }} src={avatar_url} />
                </a>
                <div>{login}</div>
            </div>
        )
    }
}
